//
//  ZDQRCodeConfiguration.h
//  ZDQRCodeManager
//
//  Created by mac on 2019/10/28.
//  Copyright © 2019 北京定辉文化传媒有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface YSQRCodeConfiguration : NSObject

+ (instancetype)shareConfiguration;

/// 会话预置，default is AVCaptureSessionPreset1920x1080
@property (nonatomic, copy) NSString *sessionPreset;
/// 元对象类型，default is AVMetadataObjectTypeQRCode
@property (nonatomic, strong) NSArray *metadataObjectTypes;
/// 扫描范围，默认整个视图（每一个取值 0 ～ 1，以屏幕右上角为坐标原点）
@property (nonatomic, assign) CGRect rectOfInterest;
/// 是否需要监听光线强弱 default is YES
@property (nonatomic, assign) BOOL sampleBufferNotify;

@end
